package com.ruiyi.careryun.mongodb;

import java.util.List;

import org.springframework.data.mongodb.repository.MongoRepository;

import com.ruiyi.careryun.beans.user.UserInfo;

public interface UserInfoRepository extends MongoRepository<UserInfo, Integer>, UserInfoOperations {

    List<UserInfo> getByUserId(Integer userId);

    List<UserInfo> getByUserNameLike(String userName);

}
